﻿@using MiniWeb.Core.Dtos
@using MiniWeb.Core.Entities
@using MiniWeb.Core.Enums
@using WFramework.Common
@using WFramework.Extensions
@using WFramework.MvcPager
@{
    Layout = "~/Views/Shared/_BaseLayout.cshtml";
    var typelist = ViewData["typelist"] as List<NewsType>;
    ViewBag.Title = Model.Title+",商城资讯,";
}
@model News
<div class="sub-box">
    <div class="area">
        <div class="sub-current">
            <a href="/newscenter/list"> @(((RootNewsTypeEnum)Model.ParentType).ToDescriptionName())</a>&nbsp;&gt;&nbsp;<a href="/newscenter/list">@Model.TypeName</a>&nbsp;&gt;&nbsp;@Model.Title</div>
        <div class="sub-cart clear">
        <div class="left me-cart">
      <div class="leftnav">
                <div class="menu_head hover"><div class="ico">商城资讯</div></div>
                <ul class="menu_body" style="display:block;"> 
                    @foreach (var item in typelist)
                    {
                          <li><a class="n" href="/newscenter/list?cid=@item.ID">@item.TypeName</a></li>
                    }

                    
                </ul>
            </div>
            </div>
            <!--me-cart-->
            <div class="right m-about-box">
                <div class="status-tit">
                    <h2>
                        @Model.TypeName</h2>
                    <span></span>
                </div>
                <!--status-tit-->
                <div class="sub-about">
                <div class="sub-detail">
                    <h1>@Model.Title</h1>
                    <div class="detail-con clear">
                       @MvcHtmlString.Create(Model.Content)
                    </div>
                    <div class="detail-page clear">
                       @* <div class="page-text left"><a href="show-22.aspx.htm" >上一篇：藏香在卫生防疫领域的应用</a></div><div class="page-text right"><a href="javascript:if(confirm(%27http://www.boyimall.com/news/show-24.aspx  \n\nThis file was not retrieved by Teleport Pro, because it was unavailable, or its retrieval was aborted, or the project was stopped too soon.  \n\nDo you want to open it from the server?%27))window.location=%27http://www.boyimall.com/news/show-24.aspx%27" tppabs="http://www.boyimall.com/news/show-24.aspx">下一篇：佛珠的材质介绍</a></div>*@
                    </div>
                    <br>
                </div>
            </div>
                <!--sub-about-->
            </div>
            <!--m-status-->
        </div>
        <!--sub-cart-->
    </div>
    @Html.Action("SeeHistoryAndLove","MainLayout")
</div>
